package ore.example.pokemonPb.commond;

import ore.example.pokemonPb.utils.RewardData;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

public class ReloadCommand implements CommandExecutor {

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        RewardData.reload(); // 调用我们在 RewardData 里的 reload 方法
        sender.sendMessage("§e用法: /pokemonpb reload");
        return true;
    }
}
